package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抽奖记录实体
 * 表名 lottery_record
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-04-16 19:32:12
 */
public class LotteryRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //编号
    private Integer id;
    //用户
    private String name;
    //用户编号
    private Long uid;
    //手机
    private String phone;
    //中奖级别
    private Integer level;
    //奖品名称
    private String levelName;
    //类型
    private Integer type;
    //价格
    private BigDecimal price;
    //花费
    private BigDecimal spend;
    //创建时间
    private Date createDate;
    private Integer lotteryId;
    private String lotteryName;

    public Integer getLotteryId() {
        return lotteryId;
    }

    public void setLotteryId(Integer lotteryId) {
        this.lotteryId = lotteryId;
    }

    public String getLotteryName() {
        return lotteryName;
    }

    public void setLotteryName(String lotteryName) {
        this.lotteryName = lotteryName;
    }

    /**
     * 设置：编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：编号
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：用户
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取：用户
     */
    public String getName() {
        return name;
    }
    /**
     * 设置：用户编号
     */
    public void setUid(Long uid) {
        this.uid = uid;
    }

    /**
     * 获取：用户编号
     */
    public Long getUid() {
        return uid;
    }
    /**
     * 设置：手机
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取：手机
     */
    public String getPhone() {
        return phone;
    }
    /**
     * 设置：中奖级别
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取：中奖级别
     */
    public Integer getLevel() {
        return level;
    }
    /**
     * 设置：奖品名称
     */
    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    /**
     * 获取：奖品名称
     */
    public String getLevelName() {
        return levelName;
    }
    /**
     * 设置：类型
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取：类型
     */
    public Integer getType() {
        return type;
    }
    /**
     * 设置：价格
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取：价格
     */
    public BigDecimal getPrice() {
        return price;
    }
    /**
     * 设置：花费
     */
    public void setSpend(BigDecimal spend) {
        this.spend = spend;
    }

    /**
     * 获取：花费
     */
    public BigDecimal getSpend() {
        return spend;
    }
    /**
     * 设置：创建时间
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateDate() {
        return createDate;
    }
}
